package com.imut.onlinebanking.user.mapper;

import com.imut.onlinebanking.user.pojo.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * 数据库操作接口：
 * 相当于dao
 */
public interface UserMapper {

    User selectByUsername(String username);
    int updateAddress(User user);


    void insertUser(User user);


    int updateUser(User user);
    int deleteUserById(@Param("userId") Integer userId);

}
